github.com/gotd/td/internal/mtproto.Conn.getTimeout (field)
4 uses
github.com/gotd/td/internal/mtproto (current package)
conn.go#L111: getTimeout func(req uint32) time.Duration
conn.go#L154: getTimeout: opt.RequestTimeout,
rpc.go#L52: c.getTimeout(mt.RPCDropAnswerRequestTypeID),
salt.go#L40: ctx, cancel := context.WithTimeout(ctx, c.getTimeout(request.TypeID()))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |